package com.kzj.service;

import com.kzj.common.re.Result;
import com.kzj.domain.Exercises;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kzj.domain.dto.EquationDTO;
import com.kzj.domain.dto.ExercisesDTO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kzj
 * @since 2023-11-15
 */
public interface ExercisesService extends IService<Exercises> {

    Result create(ExercisesDTO exercisesDTO);

    Result check(List<EquationDTO> equationDTOList,Integer practiceTime);

    Result exportDocument(ExercisesDTO exercisesDTO, HttpServletResponse response);


    Result errorSet(ExercisesDTO exercisesDTO);
}
